/*    */ package client.inventory;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ 
/*    */ public class MapleImp
/*    */   implements Serializable {
/*    */   private static final long serialVersionUID = 91795493413738569L;
/*    */   private int itemid;
/*  9 */   private short fullness = 0; private short closeness = 0;
/* 10 */   private byte state = 1, level = 1;
/*    */ 
/*    */   
/*    */   public MapleImp() {}
/*    */ 
/*    */   
/*    */   public MapleImp(int itemid) {
/* 17 */     this.itemid = itemid;
/*    */   }
/*    */   
/*    */   public int getItemId() {
/* 21 */     return this.itemid;
/*    */   }
/*    */   
/*    */   public byte getState() {
/* 25 */     return this.state;
/*    */   }
/*    */   
/*    */   public void setState(int state) {
/* 29 */     this.state = (byte)state;
/*    */   }
/*    */   
/*    */   public byte getLevel() {
/* 33 */     return this.level;
/*    */   }
/*    */   
/*    */   public void setLevel(int level) {
/* 37 */     this.level = (byte)level;
/*    */   }
/*    */   
/*    */   public short getCloseness() {
/* 41 */     return this.closeness;
/*    */   }
/*    */   
/*    */   public void setCloseness(int closeness) {
/* 45 */     this.closeness = (short)Math.min(100, closeness);
/*    */   }
/*    */   
/*    */   public short getFullness() {
/* 49 */     return this.fullness;
/*    */   }
/*    */   
/*    */   public void setFullness(int fullness) {
/* 53 */     this.fullness = (short)Math.min(1000, fullness);
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\client\inventory\MapleImp.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */